#include <stdio.h>

int main()
{
    // int 类型与ip地址的对应关系
    unsigned int a = 234423523;
    scanf("%u", &a);
    unsigned char *p = (unsigned char *)&a;
    printf("%u.%u.%u.%u\n", p[3], p[2], p[1], p[0]);

    /*
    int i;
    for (i = 0; i < 4; i++)
    {
        //printf("%x\n", p[i]);
        printf("%u\n", p[i]);
    }
    */
    return 0;
}

